package cn.tedu.design;
/*
 * 本类用于设计老师类，要求面向接口编程--
 * 先天设计的结果*/
public class DesignTeacher2 {

}
interface Teacher2{
    void ready();
    void teach();
}
class SCDTeacher2 implements Teacher2{

    @Override
    public void ready() {

    }

    @Override
    public void teach() {

    }
}
class CGBTeacher2 implements Teacher2{

    @Override
    public void ready() {

    }

    @Override
    public void teach() {

    }
}
class ACTTeacher2 implements Teacher2{

    @Override
    public void ready() {

    }

    @Override
    public void teach() {

    }
}

